<?php
class Home extends CI_Controller
{

    public function view()
    {
        $title='ndh';
        $this->load->library('parser');
        $this->load->helper('url');
        $data = array('blog_heading'=> 'it is blog', 'content' => 'longstorey', 'title'=>'ndh');
        $this->parser->parse('templates/header', $data);
        //$this->load->view('templates/header',$data['title']);
        $this->load->view('home/index.php');
        $this->load->view('templates/footer');
       
    }
}
